package com.uidt.project.ptsj.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.uidt.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uidt.framework.aspectj.lang.annotation.Excel;

/**
 * 事件处理流程记录对象 ptsj_event_log
 * 
 * @author uidt
 * @date 2024-08-28
 */
@Data
public class PtsjEventLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 关联事件id */
    @Excel(name = "关联事件id")
    private String glid;

    /** 处理方式 */
    @Excel(name = "处理方式")
    private String procMethed;

    /** 处理意见 */
    @Excel(name = "处理意见")
    private String procOpinions;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date processTime;

    /** 处理部门 */
    @Excel(name = "处理部门")
    private String procDept;

    /** 处理部门代码 */
    @Excel(name = "处理部门代码")
    private String procDeptCode;

    /** 处理姓名 */
    @Excel(name = "处理姓名")
    private String procXm;

    /** 接收单位代码 */
    @Excel(name = "接收单位代码")
    private String jsdwdm;

    /** 接收单位名称 */
    @Excel(name = "接收单位名称")
    private String jsdwmc;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setGlid(String glid) 
    {
        this.glid = glid;
    }

    public String getGlid() 
    {
        return glid;
    }
    public void setProcMethed(String procMethed) 
    {
        this.procMethed = procMethed;
    }

    public String getProcMethed() 
    {
        return procMethed;
    }
    public void setProcOpinions(String procOpinions) 
    {
        this.procOpinions = procOpinions;
    }

    public String getProcOpinions() 
    {
        return procOpinions;
    }
    public void setProcessTime(Date processTime) 
    {
        this.processTime = processTime;
    }

    public Date getProcessTime() 
    {
        return processTime;
    }
    public void setProcDept(String procDept) 
    {
        this.procDept = procDept;
    }

    public String getProcDept() 
    {
        return procDept;
    }
    public void setProcXm(String procXm) 
    {
        this.procXm = procXm;
    }

    public String getProcXm() 
    {
        return procXm;
    }
    public void setJsdwdm(String jsdwdm) 
    {
        this.jsdwdm = jsdwdm;
    }

    public String getJsdwdm() 
    {
        return jsdwdm;
    }
    public void setJsdwmc(String jsdwmc) 
    {
        this.jsdwmc = jsdwmc;
    }

    public String getJsdwmc() 
    {
        return jsdwmc;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("glid", getGlid())
            .append("procMethed", getProcMethed())
            .append("procOpinions", getProcOpinions())
            .append("processTime", getProcessTime())
            .append("procDept", getProcDept())
            .append("procXm", getProcXm())
            .append("jsdwdm", getJsdwdm())
            .append("jsdwmc", getJsdwmc())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
